if (self.CavalryLogger) { CavalryLogger.start_js(["Iw+tw"]); } __d("ArtilleryComponentSaverOptionsStatic",[],(function(a,b,c,d,e,f){e.exports={options:{ads_wait_time_saver:{shouldCompress:!1,shouldUploadSeparately:!1},ads_flux_profiler_saver:{shouldCompress:!0,shouldUploadSeparately:!1},comet_dev_tools_web_loom_saver:{shouldCompress:!0,shouldUploadSeparately:!1},timeslice_execution_saver:{shouldCompress:!0,shouldUploadSeparately:!1},interaction_async_request_join_data:{shouldCompress:!0,shouldUploadSeparately:!0},resources_saver:{shouldCompress:!0,shouldUploadSeparately:!1},user_timing_saver:{shouldCompress:!1,shouldUploadSeparately:!1}}}}),null); __d("MAria",["createArrayFromMixed","nullthrows"],(function(a,b,c,d,e,f){__p&&__p();function g(a){return a.length>1?Array.from(a):b("createArrayFromMixed")(a[0])}function h(a){return!a?null:a.getAttribute("aria-hidden")==="true"}function i(a){if(!a)return;var b=g(arguments);for(var c=0;c0&&l("timeSinceNavigationStart",(g||(g=b("performanceAbsoluteNow")))()-b("performanceNavigationStart")()),b("setTimeoutAcrossTransitions")(function(){j.addSubscriptions(b("Stratcom").listen("m:history:change",null,function(){i===a&&k(a)}))},1),i=a}function k(a){b("QuickPerformanceLogger").markerEnd(h,4),j.release(),j.engage(),i=null}function c(a){b("setTimeoutAcrossTransitions")(function(){b("QuickPerformanceLogger").markerEnd(h,2),j.release(),j.engage(),i=null},1)}function l(a,c){typeof c==="string"?b("QuickPerformanceLogger").annotateMarkerString(h,a,c):typeof c==="boolean"?b("QuickPerformanceLogger").annotateMarkerInt(h,a,c?1:0):typeof c==="number"&&b("QuickPerformanceLogger").annotateMarkerDouble(h,a,c)}e.exports={markJewelClick:a,markJewelDisplayed:c,markJewelCanceled:k}}),null); __d("MPageHeaderAccessibility",["DOM","MAria","Stratcom"],(function(a,b,c,d,e,f){__p&&__p();a=document.body;var g=b("DOM").scry(a,"*","mChromeHeaderCenter")[0],h=b("DOM").scry(a,"*","mChromeHeaderRight")[0],i=document.getElementById("root");function j(a){a&&b("MAria").show(a)}function k(a){a&&b("MAria").hide(a)}b("Stratcom").listen("m:side-area:show",null,function(a){k(g),k(h),k(i)});b("Stratcom").listen("m:side-area:hide",null,function(a){j(g),j(h),j(i)});e.exports={}}),null); __d("MCoreDeferred",["MPageControllerImpl","MPageFetcherImpl","MJewelsLoggerImpl"],(function(a,b,c,d,e,f){b("MPageControllerImpl"),b("MPageFetcherImpl"),b("MJewelsLoggerImpl")}),null); __d("MAsyncNavigationTrackerTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={}}var c=a.prototype;c.log=function(){b("GeneratedLoggerUtils").log("logger:MAsyncNavigationTrackerLoggerConfig",this.$1,b("Banzai").BASIC)};c.logVital=function(){b("GeneratedLoggerUtils").log("logger:MAsyncNavigationTrackerLoggerConfig",this.$1,b("Banzai").VITAL)};c.logImmediately=function(){b("GeneratedLoggerUtils").log("logger:MAsyncNavigationTrackerLoggerConfig",this.$1,{signal:!0})};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setEventName=function(a){this.$1.event_name=a;return this};c.setEventSpecificDetails=function(a){this.$1.event_specific_details=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setNavigationID=function(a){this.$1.navigation_id=a;return this};c.setPath=function(a){this.$1.path=a;return this};c.setSessionID=function(a){this.$1.session_id=a;return this};c.setSourcePath=function(a){this.$1.source_path=a;return this};c.setSourceTopView=function(a){this.$1.source_top_view=a;return this};c.setTime=function(a){this.$1.time=a;return this};c.setTimeSinceNavStart=function(a){this.$1.time_since_nav_start=a;return this};c.setTimeSinceSessionStart=function(a){this.$1.time_since_session_start=a;return this};c.setVC=function(a){this.$1.vc=a;return this};c.setWeight=function(a){this.$1.weight=a;return this};return a}();c={event_name:!0,event_specific_details:!0,navigation_id:!0,path:!0,session_id:!0,source_path:!0,source_top_view:!0,time:!0,time_since_nav_start:!0,time_since_session_start:!0,vc:!0,weight:!0};e.exports=a}),null); __d("MPageNavigationTracking",["EventListener","JavelinHistory","MAsyncNavigationTrackerTypedLogger","MFullPageLoadState","Stratcom","URI","performanceAbsoluteNow","performanceNavigationStart","uuid"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h,i=b("uuid")(),j=0,k=null;function a(){var a;(a=b("Stratcom")).listen("m:page:load-start",null,m);a.listen("m:page:render:complete",null,q);a.listen("m:history:change",null,n);a.listen("m:page:error",null,p);a.listen(["go","gouri"],null,t);b("EventListener").listen(window,"blur",r);b("EventListener").listen(window,"beforeunload",s)}function l(){k=null}function m(a){__p&&__p();a=a.getData();var c=a.targetPath,d=a.previousPath,e=a.previousTopView,f=a.prefetchState;f=f===void 0?null:f;var h=a.cacheType;h=h===void 0?null:h;a=a.isFromHistory;a=a===void 0?!1:a;c=v(c);d=v(d);e=e;if(c==null)return;o(c,a);var i=++j;k={id:i,path:c,sourcePath:d,sourceTopView:e,startTimeAbsolute:(g||(g=b("performanceAbsoluteNow")))(),prefetchState:f,cacheType:h,navigationType:a?"history":null};u("page_load_start",!1,{fullPageLoadState:b("MFullPageLoadState").get()})}function n(a){var c=v(a.getData().path);if(k&&k.path!==c){a=a.getData().trigger===b("JavelinHistory").TRIGGERS.POPSTATE;o(c,a)}}function o(a,b){if(!k)return;u("page_load_abandoned",!1,{abandonedToPath:a,isFromBackPress:b.toString()});l()}function p(a){if(!k)return;a=a.getData();u("page_load_failed",!1,{errorCode:(a==null?"":a).toString()});l()}function q(a){a=a.getData();a=a.path;a=v(a);if(a==null||k==null||k.path!=a)return;u("page_render_complete");l()}function r(){if(!k)return;u("browser_moved_to_background",!0);l()}function s(){u("session_unload",!0)}function t(a){a=a.getData();a=a.uri;u("session_navigate_away",!0,{uri:a});l()}function u(a,c,d){__p&&__p();c===void 0&&(c=!1);if(k==null)return;d=d||{};d.cacheType=k.cacheType;d.navigationType=k.navigationType;d.prefetchState=k.prefetchState;var e=(g||(g=b("performanceAbsoluteNow")))();a=new(b("MAsyncNavigationTrackerTypedLogger"))().setTime(Math.floor(e/1e3)).setSessionID(i).setNavigationID(k.id.toString()).setPath(k.path).setSourcePath(k.sourcePath).setSourceTopView(k.sourceTopView).setEventName(a).setTimeSinceNavStart(e-k.startTimeAbsolute).setEventSpecificDetails(d).setTimeSinceSessionStart(e-b("performanceNavigationStart")());c?a.logImmediately():a.log()}function v(a){return!a?null:new(h||(h=b("URI")))(a).getQualifiedURI().toString()}e.exports={init:a}}),null); __d("onSyncTTI",["Arbiter","BigPipe","Stratcom"],(function(a,b,c,d,e,f){"use strict";a={run:function(){b("Arbiter").subscribeOnce(b("BigPipe").Events.tti,function(){b("Stratcom").invoke("m:root:render")})}};e.exports=a}),null); __d("AddressBar",["MViewport","ge","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();a=0;function g(){a=0;if(b("MViewport").getScrollTop()<60){var c=h()*-1;b("MViewport").scrollToHeader(c)}}function h(){var a=b("ge")("header-notices");return a?a.offsetHeight:0}function c(){navigator.userAgent.indexOf("iPad")===-1&&window.addEventListener("load",function a(){window.removeEventListener("load",a,!1),g()},!1)}f.setupLoadListener=c}),null); __d("LogHistoryListeners",["Clock","ErrorUtils","LogHistory"],(function(a,b,c,d,e,f){var g,h=b("LogHistory").getInstance("sys");b("Clock").addListener(b("Clock").ANOMALY,function(a){h.warn("clock_anomaly",b("Clock").getSamples())});(g||(g=b("ErrorUtils"))).addListener(function(a){h.error("error",JSON.stringify({guard:a.guard,line:a.line,message:a.message,script:a.script,stack:a.stack}))})}),null); __d("BootloaderEventsTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(){__p&&__p();function a(){this.$1={}}var c=a.prototype;c.log=function(){b("GeneratedLoggerUtils").log("logger:BootloaderEventsLoggerConfig",this.$1,b("Banzai").BASIC)};c.logVital=function(){b("GeneratedLoggerUtils").log("logger:BootloaderEventsLoggerConfig",this.$1,b("Banzai").VITAL)};c.logImmediately=function(){b("GeneratedLoggerUtils").log("logger:BootloaderEventsLoggerConfig",this.$1,{signal:!0})};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setAllResourcesCount=function(a){this.$1.all_resources_count=a;return this};c.setAllResourcesDownloaded=function(a){this.$1.all_resources_downloaded=a;return this};c.setAsyncResourceDuration=function(a){this.$1.async_resource_duration=a;return this};c.setAsyncResourcesCount=function(a){this.$1.async_resources_count=a;return this};c.setAsyncResourcesDownloaded=function(a){this.$1.async_resources_downloaded=a;return this};c.setBlEndpointMode=function(a){this.$1.bl_endpoint_mode=a;return this};c.setBlockingResourcesCount=function(a){this.$1.blocking_resources_count=a;return this};c.setBlockingResourcesDownloaded=function(a){this.$1.blocking_resources_downloaded=a;return this};c.setComponents=function(a){this.$1.components=b("GeneratedLoggerUtils").serializeVector(a);return this};c.setDuration=function(a){this.$1.duration=a;return this};c.setEfPage=function(a){this.$1.ef_page=a;return this};c.setErrCount=function(a){this.$1.err_count=a;return this};c.setHasNewComponent=function(a){this.$1.has_new_component=a;return this};c.setMsSinceNavstart=function(a){this.$1.ms_since_navstart=a;return this};c.setParentLid=function(a){this.$1.parent_lid=a;return this};c.setPkgCohort=function(a){this.$1.pkg_cohort=a;return this};c.setRef=function(a){this.$1.ref=a;return this};c.setRequestPath=function(a){this.$1.request_path=a;return this};c.setRetries=function(a){this.$1.retries=a;return this};c.setStaticResourceDownloadDuration=function(a){this.$1.static_resource_download_duration=a;return this};c.setSvnRev=function(a){this.$1.svn_rev=a;return this};c.setTime=function(a){this.$1.time=a;return this};c.setTimesliceContext=function(a){this.$1.timeslice_context=a;return this};c.setUnpredictedBeResources=function(a){this.$1.unpredicted_be_resources=a;return this};c.setVC=function(a){this.$1.vc=a;return this};c.setWeight=function(a){this.$1.weight=a;return this};return a}();c={all_resources_count:!0,all_resources_downloaded:!0,async_resource_duration:!0,async_resources_count:!0,async_resources_downloaded:!0,bl_endpoint_mode:!0,blocking_resources_count:!0,blocking_resources_downloaded:!0,components:!0,duration:!0,ef_page:!0,err_count:!0,has_new_component:!0,ms_since_navstart:!0,parent_lid:!0,pkg_cohort:!0,ref:!0,request_path:!0,retries:!0,static_resource_download_duration:!0,svn_rev:!0,time:!0,timeslice_context:!0,unpredicted_be_resources:!0,vc:!0,weight:!0};e.exports=a}),null); __d("TimeSliceInteractionCancelHook",["clearImmediate","requireWeak","setImmediate"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a={registerInteraction:function(a){var c=b("setImmediate")(function(){g.push(a)}),d=!1;return{remove:function(){if(d)return;d=!0;b("clearImmediate")(c);var e=g.indexOf(a);e!==-1&&g.splice(e,1)}}}};b("requireWeak")("Stratcom",function(a){a.listen("click",null,function(){g.forEach(function(a){a.trace().addStringAnnotation("clicked_during_interaction","1")})})});e.exports=a}),null); __d("TimeSliceInteractionLeaveHook",["Run"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=[];a={registerInteraction:function(a){g.push(a);return{remove:function(){var b=g.indexOf(a);b!==-1&&g.splice(b,1)}}}};b("Run").onUnload(function(){g.forEach(function(a){a.trace().addStringAnnotation("ended_early_because_page_is_unloading","1"),a.finish(!0)})});e.exports=a}),null); __d("VisibilityListener",[],(function(a,b,c,d,e,f){"use strict";a={getHiddenTime:function(a,b){throw new Error("not supported here")},supported:function(){return!1}};e.exports=a}),null); __d("EventProfilerAdsSessionProvider",[],(function(a,b,c,d,e,f){"use strict";e.exports={sessionID:null}}),null); __d("BrowserPushMessageRedirectUtil",[],(function(a,b,c,d,e,f){a=function(a){return!0};e.exports=a}),null); __d("MTimeSpentDebug",["GeneratedLoggerUtils","ScriptPath"],(function(a,b,c,d,e,f){var g="logger:MDebugTimeSpentLoggerConfig",h={signal:!0,retry:!0},i=0;function a(a){if(a>=i&&a-i<1e3)return;var c={activity_time_ms:a,last_activity_time_ms:i,script_path:b("ScriptPath").getTopViewEndpoint()};b("GeneratedLoggerUtils").log(g,c,h);i=Math.floor(a/1e3)*1e3}e.exports={report:a}}),null); __d("TimeSpentArray",["Banzai","TimeSlice","clearTimeout","pageID","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=2,h=g*32,i,j,k,l,m,n,o,p,q,r,s={},t;function u(){return{timeoutDelayMap:s,nextDelay:t,timeoutInSeconds:l}}function v(){if(i){var a=Date.now();a>n&&(p=Math.min(h,Math.ceil(a/1e3-m)));a=A();a&&i(a,t)}z()}function w(){x(),k=b("setTimeoutAcrossTransitions")(b("TimeSlice").guard(v,"TimeSpentArray Timeout",{propagationType:b("TimeSlice").PropagationType.ORPHAN}),l*1e3)}function x(){k&&(b("clearTimeout")(k),k=null)}function y(a){__p&&__p();m=a;n=m*1e3;o=[1];for(var a=1;a=n&&a-n<1e3)return;j&&j(a);C(Math.floor(a/1e3))}function C(a){var b=a-m;(b<0||b>=h)&&v();!o?y(a):(o[b>>5]|=1<<(b&31),p=b+1,q+=1,n=a*1e3)}e.exports={init:function(a,c,d,e){q=0,r=-1,i=a,j=e,typeof c==="object"&&c!==null?s=c:s={},y(Math.floor((d===void 0||d===null||d===0?Date.now():d)/1e3)),b("Banzai").subscribe(b("Banzai").SHUTDOWN,v)},update:function(a){B(a)},get:function(){return A()},ship:function(){v()},reset:function(){z()},testState:function(){return u()}}}),null); __d("TimeSpentImmediateActiveSecondsLoggerBlue",["Banzai","ImmediateActiveSecondsConfig","ScriptPath"],(function(a,b,c,d,e,f){__p&&__p();var g="immediate_active_seconds",h={signal:!0,retry:!0},i=b("ImmediateActiveSecondsConfig").sampling_rate,j=b("ImmediateActiveSecondsConfig").ias_bucket,k=0;function l(a){if(i<=0)return!1;a=Math.floor(a/1e3)%i;return a===j}function a(a){if(a>=k&&a-k<1e3)return;if(l(a)){var c={activity_time_ms:a,last_activity_time_ms:k,script_path:b("ScriptPath").getTopViewEndpoint()};b("Banzai").post(g,c,h)}k=Math.floor(a/1e3)*1e3}e.exports={maybeReportActiveSecond:a}}),null); __d("TimeSpentImmediateActiveSecondsLogger",["TimeSpentImmediateActiveSecondsLoggerBlue"],(function(a,b,c,d,e,f){"use strict";e.exports=b("TimeSpentImmediateActiveSecondsLoggerBlue")}),null); __d("MTimeSpentBitArrayLogger",["Banzai","BanzaiODS","CurrentUser","MTimeSpentDebug","Stratcom","TimeSpentArray","TimeSpentImmediateActiveSecondsLogger","Visibility","isInIframe"],(function(a,b,c,d,e,f){__p&&__p();function g(){b("TimeSpentArray").ship()}function h(){var a=Date.now();b("TimeSpentArray").update(a);b("TimeSpentImmediateActiveSecondsLogger").maybeReportActiveSecond(a);l&&b("MTimeSpentDebug").report(a)}function i(a){var c=b("CurrentUser").isLoggedIn()?b("Banzai").VITAL:b("Banzai").BASIC;a._m="1";b("Banzai").post("time_spent_bit_array",a,c)}function j(){return["gesturestart","mousedown","touchstart","scroll","keydown"]}function k(){var a=j();b("Stratcom").listen(a,null,h);a="onpagehide"in window?["pagehide","blur"]:["blur"];b("Stratcom").listen(a,null,g);b("Visibility").addListener("hidden",g)}var l=!1;e.exports={init:function(a,c){if(b("isInIframe")())return;l=!!c;c=Date.now();b("TimeSpentArray").init(i,null,c);k();b("TimeSpentImmediateActiveSecondsLogger").maybeReportActiveSecond(c);l&&b("MTimeSpentDebug").report(c);b("BanzaiODS").bumpEntityKey(2966,"ms.time_spent.qa."+a,"time_spent.bits.js_initialized")},getMonitoredEvents:j}}),null); __d("MModalDialogInit",["MModalDialog"],(function(a,b,c,d,e,f){a.FW_ENABLED||b("MModalDialog").init()}),null); __d("MLiteInit",["Kite","WebLite"],(function(a,b,c,d,e,f){function a(){b("WebLite").init(),b("Kite").init()}e.exports={init:a}}),null); __d("XAsyncPushMuteController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/notifications/settings/push/mute/",{appid:{type:"Int",required:!0},push_endpoint:{type:"String",required:!0},mute_for:{type:"Enum",enumType:0}})}),null); __d("XAsyncPushMuteStateController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/notifications/settings/push/mute/state/",{appid:{type:"Int",required:!0},push_endpoint:{type:"String",required:!0}})}),null); __d("XRefererFrameController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/common/referer_frame.php",{})}),null); __d("ArtillerySegment",["invariant","performanceAbsoluteNow"],(function(a,b,c,d,e,f,g){__p&&__p();var h,i=0;a=function(){"use strict";__p&&__p();function a(a){a||g(0,1496),"category"in a&&"description"in a||g(0,3138,JSON.stringify(a)),this.$1=!1,this.$2=babelHelpers["extends"]({},a,{id:(i++).toString(36)}),this.$3=[]}var c=a.prototype;c.getID=function(){return this.$2.id};c.begin=function(){this.$2.begin=(h||(h=b("performanceAbsoluteNow")))();return this};c.end=function(){this.$2.end=(h||(h=b("performanceAbsoluteNow")))();return this};c.appendChild=function(){var a=this;this.$1&&g(0,3139,this.$2.description);for(var b=arguments.length,c=new Array(b),d=0;d=0;d--)a<6&&(b=Math.floor(2147483648*h()),a=32),d===0&&(b&=7),c=g.charAt(b&63)+c,b>>=6,a-=6;return c};a={newTraceId:function(){var a;for(var c=3;c>0;c--){a=i();if(a!=this.getDummyId())return a}b("FBLogger")("FIXME").mustfix("failed to generate valid Fbtrace id");return this.getDummyId()},newObjectId:function(){return this.newTraceId()},getDummyId:function(){return"AAAAAAAAAAA"},traceIdToBucket:function(a){a=a.charAt(a.length-1);return g.indexOf(a)%32}};e.exports=a}),null); __d("CurrentEventMeta",[],(function(a,b,c,d,e,f){var g=null,h={};a={__setCurrentEventID:function(a){g=a},__informEventDataReady:function(a,b){h[a]&&(h[a].forEach(function(a){return a(b)}),delete h[a])},hasCurrentEvent:function(){return!!g},registerForCurrentEventData:function(a){g&&(h[g]=h[g]||[],h[g].push(a))}};e.exports=a}),null); __d("InteractionAsyncRequestJoinDataSource",["ArtilleryAsyncRequestTracingAnnotator","FBLogger"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={registerInteraction:function(a){__p&&__p();a.countDown();var c=a.traceID,d=a.name;if(c==null){b("FBLogger")("InteractionAsyncRequestJoinDataSource").mustfix("got a null trace_id for interaction "+d+". Typically this indicates that only lite tracing was on, which this hook does not support");return}var e=b("ArtilleryAsyncRequestTracingAnnotator").startTracingWindow(c,d);a.registerOnBeforeFinish(function(a){var b=e.finishTracingWindow();a.recordWithExtraSaver("interaction_async_request_join_data","entries",b)});a.registerOnCleanup(function(){e.finishTracingWindow()})}};e.exports=a}),null); __d("TSIAdsReliabilityHook",[],(function(a,b,c,d,e,f){"use strict";var g={callbacks:[],register:function(a){g.callbacks.push(a)},event:function(a,b,c){g.callbacks.forEach(function(d){return d(a,b,c)})}};e.exports=g}),null); __d("TimeSliceExecutionLogger",["ExecutionContextObservers","IntervalTrackingBoundedBuffer","OnDemandExecutionContextObserver","TimeSlice","TimingAnnotations","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h,i=1e4,j={BEGIN:"b",END:"e"},k=new(b("TimingAnnotations"))(),l;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g=k.length)break;c=k[d++]}else{d=k.next();if(d.done)break;c=d.value}g=c;b("TimeSliceInteractionReliability").bumpLifecycleCounter("starting",a,g)}}var d=c.prototype;d.recordWithExtraSaver=function(a,b,c){if(this.isEnabled()){var d=this.$26.get(a)||{};b!=null&&c!=null&&(d[b]=c);this.$26.set(a,d)}return this};d.countDown=function(){this.$23--,this.$23===0?this.$19&&this.$19():this.$23<0&&b("FBLogger")("TimeSliceInteraction").warn("some hook counted down twice")};d.countUp=function(){this.$23>0?++this.$23:b("FBLogger")("TimeSliceInteraction").warn("Attempting to countUp on finished interaction")};d.inform=function(a,c){var d=c!=null&&c.isPointOfInterest;if(!this.isEnabledForMode("full")&&!(this.isEnabledForMode("lite")&&d))return t;d=c&&c.ts||(i||(i=b("performanceAbsoluteNow")))();var e=new(b("TimingAnnotations"))(),f=this.isEnabledForMode("full")?b("TimeSlice").getGuardNameStack():[];this.$11.push(babelHelpers["extends"]({ts:d,name:a,annotations:e,rawStackTrace:c&&c.rawStackTrace||null,guardStack:f},n,c));return e};d.informPointWithOverride=function(a,c){__p&&__p();var d=(i||(i=b("performanceAbsoluteNow")))(),e=c!=null&&c.isPointOfInterest;if(!this.isEnabledForMode("full")&&!(this.isEnabledForMode("lite")&&e)||!this.$28)return t;e=this.isEnabledForMode("full")?b("TimeSlice").getGuardNameStack():[];var f=this.$28[a];c&&(c.rawStackTrace=c.rawStackTrace||null);if(f)f.ts=d,f.guardStack=e,Object.assign(f,c||{});else{f=new(b("TimingAnnotations"))();this.$28[a]=babelHelpers["extends"]({ts:d,name:a,annotations:f,rawStackTrace:c&&c.rawStackTrace||null,guardStack:e},n,c)}return this.$28[a].annotations};d.invokeWithProfiling=function(c,d){if(!this.isEnabledForMode("full"))return d();var e=this.inform("start_"+c);this.$6.push(e);e=(k||(k=b("ErrorUtils"))).applyWithGuard(d,a,null,null,c);this.inform("finished_"+c);this.$6.pop();return e};d.getCurrentInvocation=function(){if(!this.isEnabledForMode("full"))return t;else if(this.$6.length<1)return t;else return this.$6[this.$6.length-1]};d.finish=function(a){__p&&__p();var c=this;this.$29(a?"client_tsi_finish_on_unload":"client_tsi_finish");if(!this.$4)return;if(a&&this.$19){this.$19();return}if(this.$7)b("FBLogger")("TimeSliceInteraction").warn("Trace was already marked as ended");else{x(this);this.$14.forEach(function(a){return a(c)});for(var d=this.$17,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(e){if(f>=d.length)break;h=d[f++]}else{f=d.next();if(f.done)break;h=f.value}h=h;b("TimeSliceInteractionReliability").bumpLifecycleCounter("finishing",this.$1,h)}this.inform("trace_ended",{type:4,pointGroup:"e2e",isPointOfInterest:!0});var j=this.isEnabledForMode("lite"),k=this.isEnabledForMode("full");k&&this.trace().addStringAnnotation("weight",""+1/(this.$20*this.$21));j&&this.trace().addStringAnnotation("lite_weight",""+1/(this.$20*this.$22));navigator&&navigator.connection&&(typeof navigator.connection.downlink==="number"&&this.trace().addStringAnnotation("browser_downlink_megabits",navigator.connection.downlink.toString()),typeof navigator.connection.rtt==="number"&&this.trace().addStringAnnotation("browser_rtt_ms",navigator.connection.rtt.toString()),typeof navigator.connection.effectiveType==="string"&&this.trace().addStringAnnotation("browser_effective_connection_type",navigator.connection.effectiveType));var m=(i||(i=b("performanceAbsoluteNow")))(),n=q.get(this);q["delete"](this);this.$5&&this.$5();var o=this.$24!=null?this.$24.close():[],p=this.$25!=null?this.$25.close():[],r=this.$25!=null?this.$25.hasOverflown():!1,t=this.$25!=null?this.$25.getOverflowSize():0,u=this.$9!=null?this.$9.close():null;if(j||k){var v=function(a){j&&c.$30(n),k&&(u!=null&&c.recordWithExtraSaver("user_timing_saver","data",u),c.$31(m,n,a,o,p,r,t)),s&&s===c.$3&&(b("Arbiter").inform("time_slice_trace_posted",{traceId:c.$3}),s=null),c.$32()},w=v;if(this.$8!==void 0){l||g(0,1439);var y=l.stopRecording(this.$8);w=function(){y["catch"](function(a){setTimeout(function(){throw a},0)}).then(v)}}a?w():this.$19=function(){return b("requestIdleCallbackAcrossTransitions")(function(){return w()})}}this.countDown();this.$7=!0}};d.registerOnBeforeSend=function(a){this.$4&&this.$12.push(a);return this};d.registerOnBeforeFinish=function(a){this.$4&&this.$14.push(a);return this};d.registerOnCleanUp=function(a){this.$4&&this.$13.push(a);return this};d.trace=function(){return!this.$4?u:this.$15};d.getTraceID=function(){return this.$4?this.$3:null};d.setExtraSampleRate=function(a){this.$20=a;return this};d.isEnabled=function(){return this.$4};d.disable=function(a){__p&&__p();a===void 0&&(a=!1);q["delete"](this);this.$5&&this.$5();this.$8!==void 0&&(l||g(0,1439),l.stopRecording(this.$8));if(!a&&this.$4)for(var a=this.$17,c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;b("TimeSliceInteractionReliability").bumpLifecycleCounter("disabled",this.$1,e)}this.$4=!1;this.$32()};d.disableBanzaiStream=function(){this.$27=!1};c.getPageLoadPoints=function(a,b){var c=[],d=o.read();for(var e=d.length-1;e>=0;e--){var f=d[e];if(f.ts=0;e--){var f=d[e],g=f.interaction;f=f.ts;g=g.getTraceID();if(f0?f[0].begin:null;q=q.getMetrics(u!=null&&u0&&(l.push.apply(l,a),b("requestIdleCallbackAcrossTransitions")(b("TimeSlice").guard(n,"invoking onAllChildrenFinished callbacks",{propagationType:b("TimeSlice").PropagationType.ORPHAN})))}function n(){while(l.length)l.pop().finish()}var o=function(){"use strict";__p&&__p();function a(b,c){this.$2=a.$1++,this.$3=b,this.$4=[],this.$5=!1,this.$6=c,this.openReferenceCount=1,this.timeslices=[b]}var b=a.prototype;b.isProfiling=function(){return this.$6};b.addCallback=function(a){!this.$5?this.$4.push(a):a();return this};b.finish=function(){this.$5||(this.$5=!0,this.$4.forEach(function(a){return a()}),delete this.$4)};b.getContinuationExecutionCounterID=function(){return this.$2};b.isInsideContinuationExecution=function(){return i.indexOf(this)!==-1};b.getTimeSliceContextsThisCounted=function(){return this.timeslices};b.getRootContextID=function(){return this.$3};return a}();o.$1=1;function p(a,b){a.forEach(function(a){var c=a.getContinuationExecutionCounterID(),d=b.find(function(a){return a.getContinuationExecutionCounterID()===c});d||b.push(a)})}c=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.onNewContextCreatedWhileEnabled=function(a,b,c){var d;c.isContinuation&&(d=i,d.forEach(function(a){return a.openReferenceCount++}));a={hasBeenInvoked:!1,hasExecutionBeenCounted:!1,parentReferenceCounters:d,creationID:k++};return a};d.onContextCanceled=function(a,b){a=b||{};a.hasBeenInvoked||(m(a.parentReferenceCounters),a.hasBeenInvoked=!0)};d.onBeforeContextStartedWhileEnabled=function(a,c,d){__p&&__p();var e={callerProfilingCounterID:j,callerReferenceCounters:h,callerExecutionCounters:i.slice()};c=c||{hasBeenInvoked:!1,creationID:-1};c.hasBeenInvoked=!0;a.executionNumber>0?h=[]:h=c.parentReferenceCounters||[];d.extendsExecution?p(h,i):i=[];i.forEach(function(b){return b.timeslices.push(a.contextID)});h.filter(function(a){return a.isProfiling()}).length>0&&a.executionNumber===0?j=b("ProfilingCounters").startTimingInContext("REF_COUNTED_TIMESLICE_TIME",a.contextID):j=null;return e};d.onDisable=function(){j=null,h=[],i=[]};d.onAfterContextStartedWhileEnabled=function(a,b,c,d){return c};d.onAfterContextEndedWhileEnabled=function(a,c,d,e){c=a.contextID;j!=null&&(b("ProfilingCounters").stopTimingInContext(j,c),j=null);m(h);h=d.callerReferenceCounters;i=d.callerExecutionCounters;j=d.callerProfilingCounterID};d.getBeforeID=function(){return(g||(g=b("ExecutionContextObservers"))).beforeIDs.REFERENCE_COUNTING};d.getAfterID=function(){return(g||(g=b("ExecutionContextObservers"))).afterIDs.REFERENCE_COUNTING};return c}(b("OnDemandExecutionContextObserver"));var q={onAllChildrenFinished:function(a,b){b===void 0&&(b=!1);var c=q.getObserver().expressInterest();return q.onAllChildrenFinishedWithoutAutoTurningObserverOn(a,c,b)},onAllChildrenFinishedWithoutAutoTurningObserverOn:function(c,d,e){__p&&__p();var f=b("TimeSlice").getContext();if(f==null){d();return null}f=f.contextID;a=new o(f,e);a.addCallback(d);c&&a.addCallback(c);h=h.slice();h.push(a);i=i.slice();i.push(a);j==null&&a.isProfiling()&&(j=b("ProfilingCounters").startTimingInContext("REF_COUNTED_TIMESLICE_TIME",f));return a},getObserver:function(){return r}},r=new c();b("TimeSlice").registerExecutionContextObserver(r);e.exports=q}),null); __d("TimeSliceAutoclosedInteraction",["ErrorUtils","ProfilingCounters","TimeSlice","TimeSliceInteraction","TimeSliceInteractionSV","TimeSliceReferenceCounting","clearTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=70*1e3;a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(c,d){__p&&__p();var e;d===void 0&&(d=[]);e=a.call(this,c,d)||this;e.$TimeSliceAutoclosedInteraction1=new Map();e.$TimeSliceAutoclosedInteraction2=0;e.$TimeSliceAutoclosedInteraction3=!0;e.$TimeSliceAutoclosedInteraction4=[];e.$TimeSliceAutoclosedInteraction5=new Set();if(e.isEnabled()){e.trace().addStringAnnotation("initiatorType","autoclosed");var f=b("setTimeoutAcrossTransitions")(b("TimeSlice").guard(function(){e.isDone()||(e.trace().addStringAnnotation("terminated_by_timeout_ms",h.toString()),e.finish())},"timeout for action "+c,{propagationType:b("TimeSlice").PropagationType.EXECUTION}),h);e.registerOnBeforeSend(function(){e.trace().addStringAnnotation("ref_counting_trees",""+e.$TimeSliceAutoclosedInteraction2).addStringAnnotation("ref_counters_pending_count",""+e.$TimeSliceAutoclosedInteraction1.size),b("clearTimeout")(f)});d=b("TimeSliceReferenceCounting").onAllChildrenFinished(null,!0);if(d==null)e.disable(),(g||(g=b("ErrorUtils"))).reportError(new Error("starting autoclosed interaction outside of a timeslice."));else{e.waitForReferenceCounter(d);e.trace().addStringAnnotation("on_demand_reference_counting",b("TimeSliceInteractionSV").on_demand_reference_counting?"1":"0");c="timeslice_interaction_"+e.getTraceID();e.isEnabledForMode("full")&&(b("ProfilingCounters").currentContext().addAttribution(c,b("ProfilingCounters").AttributionPropagation.ONLY_ON_CONTINUATIONS_AND_FIRST_EXEC),e.addProfilingCounterAttribution(c))}}return e}c.getInteractionsActiveRightNow=function(){return Array.from(b("TimeSliceInteraction").getAllActiveInteractions()).filter(function(a){return a.$TimeSliceAutoclosedInteraction3&&a.hasActiveReferenceCountingHandle()})};var d=c.prototype;d.waitForReferenceCounter=function(a){__p&&__p();var c=this;if(!this.isEnabled())return this;var d=a.getContinuationExecutionCounterID();this.$TimeSliceAutoclosedInteraction1.set(d,a);this.$TimeSliceAutoclosedInteraction2++;a.addCallback(function(){b("TimeSliceInteractionSV").also_record_new_timeslice_format&&c.$TimeSliceAutoclosedInteraction1.has(d)&&a.getTimeSliceContextsThisCounted().forEach(function(a){return c.$TimeSliceAutoclosedInteraction5.add(a)}),c.$TimeSliceAutoclosedInteraction1["delete"](d)&&c.$TimeSliceAutoclosedInteraction1.size===0&&(c.$TimeSliceAutoclosedInteraction4.forEach(function(a){return a()}),c.$TimeSliceAutoclosedInteraction4=[],c.isEnabled()&&!c.isDone()&&(b("TimeSliceInteractionSV").also_record_new_timeslice_format&&c.recordWithExtraSaver("timeslice_execution_saver","reference_counted_contexts",Array.from(c.$TimeSliceAutoclosedInteraction5.values())),c.finish()))});return this};d.onReferenceCountedExecutionFinished=function(a){this.$TimeSliceAutoclosedInteraction4.push(a)};d.hasActiveReferenceCountingHandle=function(){__p&&__p();for(var a=this.$TimeSliceAutoclosedInteraction1.values(),b=Array.isArray(a),c=0,a=b?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(d.isInsideContinuationExecution())return!0}return!1};return c}(b("TimeSliceInteraction"));e.exports=a}),null); __d("TimeSliceInteractionEventHook",["CurrentEventMeta"],(function(a,b,c,d,e,f){"use strict";a={registerInteraction:function(a){b("CurrentEventMeta").hasCurrentEvent()&&(a.countUp(),b("CurrentEventMeta").registerForCurrentEventData(function(b){Object.keys(b).forEach(function(c){var d=""+b[c];a.trace().addStringAnnotation(c,d)}),a.countDown()}));return null}};e.exports=a}),null); __d("TimeSliceInteractionResourcesDataSource",["SiteData"],(function(a,b,c,d,e,f){"use strict";a={registerInteraction:function(a){a.countDown(),a.registerOnBeforeFinish(function(a){a.recordWithExtraSaver("resources_saver","info",{client_revision:b("SiteData").client_revision,pkg_cohort:b("SiteData").pkg_cohort})})}};e.exports=a}),null); __d("BootloaderLoggerUtil",["Bootloader","BootloaderEventsTypedLogger","ScriptPath","SiteData","performanceNavigationStart"],(function(a,b,c,d,e,f){__p&&__p();var g=null;a={initLogging:function(a){if(g)return;g=b("Bootloader").getArbiter().subscribe(b("Bootloader").Events.BOOTLOAD,function(c,d){if(!d)return;c=d.start_time;d=babelHelpers.objectWithoutPropertiesLoose(d,["start_time"]);c=Math.round(c-b("performanceNavigationStart")());new(b("BootloaderEventsTypedLogger"))().setMsSinceNavstart(c).setPkgCohort(b("SiteData").pkg_cohort).setWeight(a.sample_rate).setSvnRev(b("SiteData").client_revision).setBlEndpointMode(1).setRequestPath(b("ScriptPath").getScriptPath()).setEfPage(b("ScriptPath").getEarlyFlushPage()).setParentLid(a.parent_lid).updateData(d).log()})}};e.exports=a}),null); __d("WebCookieUseBannerController",["Arbiter","CSS","DeferredCookie","DOM"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={init:function(a,c){this.banner=a;this.closeButton=c;document.body&&b("CSS").addClass(document.body,"hasCookieBanner");b("DeferredCookie").addDefaultInteractionListener();if(c){var d=function(){document.body&&b("CSS").removeClass(document.body,"hasCookieBanner"),b("DOM").remove(a),b("Arbiter").inform("WebCookieUseBannerController/close")};c.addEventListener?c.addEventListener("click",d):c.attachEvent&&c.attachEvent("onclick",d)}}};e.exports=a}),null); __d("PageDOMMutationObserver",["ExecutionEnvironment","MutationObserver"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=new(b("MutationObserver"))(function(){}),h=!1,i={tryStart:function(){__p&&__p();var a=typeof g.takeRecords==="function";if(!b("ExecutionEnvironment").canUseDOM||!a){i.tryStart=function(){};i.consumePendingDOMMutations=function(){return 0};return}if(!window.Env||!document.body||window._splashBody)return;i.tryStart=function(){};if(!window.Env.dom_mutation_flag)return;h=!0;g.observe(document.body,{attributes:!0,childList:!0,characterData:!0,subtree:!0})},consumePendingDOMMutations:function(){var a=g.takeRecords();return a!=null?a.length:0},isSupported:function(){return h}};e.exports=i}),null); __d("MPushPermissionUtil",["BanzaiLogger","gkx"],(function(a,b,c,d,e,f){function a(a){var c=b("gkx")("910664");c&&b("BanzaiLogger").log("ChromePushPermissionEventsLoggerConfig",{event:a})}e.exports={logEvent:a}}),null); __d("NavigationMetricsEnumJS",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({NAVIGATION_START:"navigationStart",UNLOAD_EVENT_START:"unloadEventStart",UNLOAD_EVENT_END:"unloadEventEnd",REDIRECT_START:"redirectStart",REDIRECT_END:"redirectEnd",FETCH_START:"fetchStart",DOMAIN_LOOKUP_START:"domainLookupStart",DOMAIN_LOOKUP_END:"domainLookupEnd",CONNECT_START:"connectStart",CONNECT_END:"connectEnd",SECURE_CONNECTION_START:"secureConnectionStart",REQUEST_START:"requestStart",RESPONSE_START:"responseStart",RESPONSE_END:"responseEnd",DOM_LOADING:"domLoading",DOM_INTERACTIVE:"domInteractive",DOM_CONTENT_LOADED_EVENT_START:"domContentLoadedEventStart",DOM_CONTENT_LOADED_EVENT_END:"domContentLoadedEventEnd",DOM_COMPLETE:"domComplete",LOAD_EVENT_START:"loadEventStart",LOAD_EVENT_END:"loadEventEnd"})}),null); __d("ResourceTimingMetricsEnumJS",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({START_TIME:"startTime",REDIRECT_START:"redirectStart",REDIRECT_END:"redirectEnd",FETCH_START:"fetchStart",DOMAIN_LOOKUP_START:"domainLookupStart",DOMAIN_LOOKUP_END:"domainLookupEnd",CONNECT_START:"connectStart",SECURE_CONNECTION_START:"secureConnectionStart",CONNECT_END:"connectEnd",REQUEST_START:"requestStart",RESPONSE_START:"responseStart",RESPONSE_END:"responseEnd"})}),null); __d("ScriptPathLogger",["Banzai","CurrentUser","LogHistory","ScriptPath","URI","WebSession","isInIframe"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h="script_path_change",i={scriptPath:null,categoryToken:null,extraData:{}},j=!1,k="imp_id";function l(a){__p&&__p();var c=(g||(g=b("URI"))).getNextURI?(g||(g=b("URI"))).getNextURI():new(g||(g=b("URI")))(window.location.href),d=c.getQueryData();c=c.getPath();c.endsWith("/")&&(c=c.substr(0,c.length-1));var e=m(c,d);if(e){a.content_id=e;return}e=n(c);if(e!==""){a.dest_topic_feed=e;return}if(o(c)){e=d.queue_id;e&&(a.dest_srt_queue_id=e);c=d.job_in_review;c&&(a.dest_srt_reviewing_job_id=c);return}}function m(a,b){__p&&__p();if(b.story_fbid)return b.story_fbid;if(b.fbid)return b.fbid;if(b.view==="permalink"&&b.id)return b.id;b=/\/(posts|videos|notes|groups\/.*\/permalink)\//;var c=/^[0-9]+$/;if(b.test(a)){b=a.split("/");a=b[b.length-1];if(c.test(a))return a}return""}function n(a){if(!a||a.search("/feed/topics/")==-1)return"";a=a.split("/");return a[a.length-1]}function o(a){return!!a&&a.search("/intern/review/")!==-1}function p(a,c,d,e){__p&&__p();b("WebSession").extend();if(!j||b("isInIframe")())return;var f=b("CurrentUser").isLoggedIn(),g=f?b("Banzai").VITAL:b("Banzai").BASIC;f&&(e=e||{},e.via_banzai_vital="1");f={source_path:a.scriptPath,source_token:a.categoryToken,dest_path:c.scriptPath,dest_token:c.categoryToken,impression_id:c.extraData?c.extraData.imp_id:null,cause:d,sid_raw:b("WebSession").getId()};d=d==="unload";d||l(f);if(e!=null){var i=e;i=i.snowlift_content_id;!d&&i!=null&&(f.content_id=i,delete e.snowlift_content_id);f.extra_data=e}a.scriptPath===null&&(f.referrer=document.referrer);d=b("ScriptPath").getClickPointInfo();d&&(f.click_point_info=d);if(a.extraData)for(var m in a.extraData)m!=k&&(f["source_"+m]=a.extraData[m]);if(c.extraData)for(var n in c.extraData)n!=k&&(f["dest_"+n]=c.extraData[n]);a.topViewEndpoint&&(f.source_endpoint=a.topViewEndpoint);c.topViewEndpoint&&(f.dest_endpoint=c.topViewEndpoint);a.restored&&(f.source_restored=!0);b("Banzai").post(h,f,g);b("ScriptPath").setClickPointInfo(null)}function q(){p(b("ScriptPath").getSourcePageInfo()||i,b("ScriptPath").getPageInfo()||i,"load")}function r(a,b,c){p(a,b,"transition",c)}function a(){p(b("ScriptPath").getPageInfo()||i,i,"unload"),b("ScriptPath").shutdown()}var s=b("ScriptPath").subscribe(function(a){if(j){var b=a.source,c=a.dest,d=a.cause;a=a.extraData;d?p(b||i,c||i,d,a):b?r(b,c||i,a):q()}});b("Banzai").subscribe(b("Banzai").SHUTDOWN,a);c={startLogging:function(){j=!0,b("ScriptPath").getPageInfo()&&q()},stopLogging:function(){j=!1,s.remove()},BANZAI_LOGGING_ROUTE:h};e.exports=c}),null); __d("TimeSliceInteractionPageStatsHook",["NavigationMetrics"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=[];b("NavigationMetrics").addRetroactiveListener(b("NavigationMetrics").Events.NAVIGATION_DONE,function(a,b){if(b.pageType!=="normal")return;g={start:b.start,dd:b.all_pagelets_displayed,tti:b.tti,e2e:b.e2e};for(var a=0;a=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(!this.$BrowserEventBasedInteraction2.includes(d))return!1}return!0};d.addEagerExecution=function(a,b,c){this.waitForReferenceCounter(a),this.addProfilingCounterAttribution(b),[].push.apply(this.$BrowserEventBasedInteraction2,c)};d.setManualStartAndEnd=function(a,b,c,d){this.$BrowserEventBasedInteraction7++,this.$BrowserEventBasedInteraction8++,this.$BrowserEventBasedInteraction3=a,this.$BrowserEventBasedInteraction4=b,this.$BrowserEventBasedInteraction5=c,this.$BrowserEventBasedInteraction6=d,this.isEnabled()?this.addManualInstrumentationData():d||this.logManualInstrumentationData()};d.markManualStart=function(a,c){var d=this;this.$BrowserEventBasedInteraction7++;this.$BrowserEventBasedInteraction4||(this.$BrowserEventBasedInteraction4=c||(h||(h=b("performanceAbsoluteNow")))(),this.$BrowserEventBasedInteraction3=a,this.isEnabled()&&(this.countUp(),this.registerOnBeforeFinish(function(){d.addManualInstrumentationData()})))};d.markManualEnd=function(a){if(!this.$BrowserEventBasedInteraction4){b("FBLogger")("event_profiler").warn("Attempting to mark end for interaction which never had start marked");return}this.$BrowserEventBasedInteraction8++;this.$BrowserEventBasedInteraction5=a||(h||(h=b("performanceAbsoluteNow")))();this.$BrowserEventBasedInteraction6=this.hasActiveReferenceCountingHandle();!this.isEnabled()&&!this.$BrowserEventBasedInteraction6?this.logManualInstrumentationData():this.isEnabled()&&this.$BrowserEventBasedInteraction8===1&&this.countDown()};d.getManualInstrumentationData=function(){var a={};this.$BrowserEventBasedInteraction4&&this.$BrowserEventBasedInteraction3&&(a.manual_instrumentation_start=""+this.$BrowserEventBasedInteraction4,a.manual_instrumentation_marked_start_count=""+this.$BrowserEventBasedInteraction7,a.manual_instrumentation_start_reference_counted="1");this.$BrowserEventBasedInteraction5&&(a.manual_instrumentation_end=""+this.$BrowserEventBasedInteraction5,a.manual_instrumentation_marked_end_count=""+this.$BrowserEventBasedInteraction8,a.manual_instrumentation_end_reference_counted=this.$BrowserEventBasedInteraction6?"1":"0");this.$BrowserEventBasedInteraction4&&this.$BrowserEventBasedInteraction5&&(a.manual_instrumentation_duration=""+(this.$BrowserEventBasedInteraction5-this.$BrowserEventBasedInteraction4));return a};d.addManualInstrumentationData=function(){var a=this,b=this.getManualInstrumentationData();Object.keys(b).forEach(function(c){a.trace().addStringAnnotation(c,b[c])});this.trace().addVectorAnnotation("manual_instrumentation_interaction_ids",this.$BrowserEventBasedInteraction3||[]);b.manual_instrumentation_start&&this.inform("manual_instrumentation_start",{ts:parseFloat(b.manual_instrumentation_start)}).addStringAnnotation("visual_role","global_signpost");b.manual_instrumentation_end&&this.inform("manual_instrumentation_end",{ts:parseFloat(b.manual_instrumentation_end)}).addStringAnnotation("visual_role","global_signpost")};d.logManualInstrumentationData=function(){var a=this,c=this.$BrowserEventBasedInteraction3||[],d=this.getManualInstrumentationData();d.lite_weight="1";b("Bootloader").loadModules(["TimeSliceInteractionsLiteTypedLogger","PerfXSharedFields"],function(b,e){new b().setActionName("Event").setTraceAnnotations({stringProps:d,setProps:{},vectorProps:{manual_instrumentation_interaction_ids:c,interaction_ids:a.$BrowserEventBasedInteraction2}}).updateData(e.getCommonData()).logVital()},"BrowserEventBasedInteraction")};d.getActiveBrowserEventBasedInteractions=function(){return b("TimeSliceAutoclosedInteraction").getInteractionsActiveRightNow().filter(function(a){return a instanceof c})};return c}(b("TimeSliceAutoclosedInteraction"));e.exports=a}),null); __d("EventProfiler",["requireCond","cr:708886"],(function(a,b,c,d,e,f){e.exports=b("cr:708886")}),null); __d("EventProfilerEagerExecution",["EventConfig","FBLogger","ProfilingCounters","TimeSliceReferenceCounting"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=0,h={},i=0,j={},k=function(){__p&&__p();function a(a,c,d){__p&&__p();var e=this;this.interaction=null;this.$2=[];this.$3=[];this.$4=[];this.$5=[];this.id=i++;this.$6=a;for(var d=0;d=a.length)break;d=a[c++]}else{c=a.next();if(c.done)break;d=c.value}d=d;if(!this.$6.includes(d))return!1}return!0};c.__registerInteractionWePotentiallyEagerlyExecutedFor=function(a){this.$2.push(a)};c.attributeToCurrentlyActiveInteraction=function(){__p&&__p();var a=this,b=this.handle;if(!b)return;var c=function(){__p&&__p();if(e){if(f>=d.length)return"break";g=d[f++]}else{f=d.next();if(f.done)return"break";g=f.value}var c=g;if(c.hasActiveReferenceCountingHandle()){c.addEagerExecution(b,a.$1,a.$3.slice());a.interaction=c;a.$4.forEach(function(a){return a(c)});a.$4=[];return"break"}};for(var d=this.$2,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g,h=c();if(h==="break")break}};c.tagAsInteractionID=function(a){this.$3.push(a)};c.withInteraction=function(a){!this.interaction?this.$4.push(a):a(this.interaction)};c.isActive=function(){return!!(this.handle&&this.handle.isInsideContinuationExecution())};c.onFinish=function(a){this.$5.push(a)};c.finish=function(){delete h[this.id],this.$5.forEach(function(a){return a()}),this.$5=[]};return a}();a={declareEagerExecution:function(a,b,c){a=new k(a,c,b);var d=a.id;return function(){h[d]&&h[d].attributeToCurrentlyActiveInteraction()}},getEagerExecution:function(a,b){var c=a.map(function(a){return j[a]}).filter(function(b){return b&&b.hasInteractionIDs(a)});b=c.filter(function(a,b){return b===c.indexOf(a)});return b.length==1?b[0]:null},getActiveExecutions:function(){return Object.values(h).filter(function(a){return a.handle&&a.handle.isInsideContinuationExecution()})}};e.exports=a}),null); __d("EventProfilerInteractionTracker",["Bootloader","BrowserEventBasedInteraction","EventProfilerEagerExecution","EventConfig","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=[],i=b("EventConfig").profile_eager_execution&&b("EventConfig").manual_instrumentation;a={createNewInteraction:function(a,c,d,e){__p&&__p();if(!a.length)return null;var f=e&&e.sampleWeight||0,g;(i||d||f)&&(g=new(b("BrowserEventBasedInteraction"))(a,c,1/(f||d)));if(g&&e){var j=e;j.__registerInteractionWePotentiallyEagerlyExecutedFor(g);g.registerOnBeforeSend(function(){g&&g!==j.interaction&&(d?g.setExtraSampleRate(1/d):g.disable())})}if(g){var k=g;h.push(g);g.onReferenceCountedExecutionFinished(function(){var a=h.indexOf(k);a!==-1&&h.splice(a,1)})}f===0&&d===0&&g&&g.disable();return d===0?null:g},markManualStart:function(a,c,d){__p&&__p();if(!i)return{markManualEnd:function(){}};var e=h.filter(function(b){return b.hasInteractionIDs(a)&&b.getEventType()===c}),f=b("EventProfilerEagerExecution").getActiveExecutions();if(e.length===1)return j(e[0],a,d);else if(f.length===1)return m(f[0],a,d);else{e.forEach(function(a){a.trace().addStringAnnotation("has_manual_instrumentation_conflict","1")});return k(a,e.length+f.length,d)}}};function j(a,b,c){a.markManualStart(b,c);return{markManualEnd:function(b){a.markManualEnd(b)}}}function k(a,c,d){var e=d||(g||(g=b("performanceAbsoluteNow")))();return{markManualEnd:function(d){d=d||(g||(g=b("performanceAbsoluteNow")))();l(e,d,a,c)}}}function l(a,c,d,e){var f={manual_instrumentation_start:""+a,manual_instrumentation_end:""+c,manual_instrumentation_duration:""+(c-a),manual_instrumentation_start_reference_counted:"0",manual_instrumentation_end_reference_counted:"0",lite_weight:"1"};e&&(f.manual_instrumentation_conflicts=""+e);b("Bootloader").loadModules(["TimeSliceInteractionsLiteTypedLogger","PerfXSharedFields"],function(a,b){new a().setActionName("Event").setTraceAnnotations({stringProps:f,setProps:{},vectorProps:{manual_instrumentation_interaction_ids:d}}).updateData(b.getCommonData()).logVital()},"EventProfilerInteractionTracker")}function m(a,c,d){__p&&__p();var e=d||(g||(g=b("performanceAbsoluteNow")))(),f,h,i,j=!1;function k(){f&&h!==void 0&&!j&&i!==void 0&&(j=!0,h?h.setManualStartAndEnd(c,e,f,i):l(e,f,c))}var m;a.withInteraction(function(a){m=a,a.onReferenceCountedExecutionFinished(function(){a.hasInteractionIDs(c)?h=a:h=null,k()})});a.onFinish(function(){m||(h=!1,k())});return{markManualEnd:function(c){if(f)return;i=a.isActive()||m&&m.hasActiveReferenceCountingHandle()||!1;f=c||(g||(g=b("performanceAbsoluteNow")))();k()}}}e.exports=a}),null); __d("EventProfilerSampler",["EventConfig"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("EventConfig").interaction_boost,h=b("EventConfig").event_types,i=b("EventConfig").sampling||{},j=b("EventConfig").page_sampling_boost||1,k=[];Object.keys(b("EventConfig").interaction_regexes).forEach(function(a){k.push({id:a,regex:new RegExp(b("EventConfig").interaction_regexes[a])})});a="click";c="mouseup";var l=[a,c],m=a;d={canSample:function(a){return!!i[a]},getEventSampleWeights:function(a,b){a.__samplingWeights==void 0&&(a.__samplingWeights={interaction:n(this.getInteractionWeight(a,b)),event:n(this.getEventWeight(a))});return a.__samplingWeights},getInteractionWeight:function(a,b){__p&&__p();a=a.type in i?i[a.type]:1;if(!a||!b||!b.length)return 0;var c=1;for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;if(g[f]){c=g[f];break}}return a*i.__interactionDefault/c},getEventWeight:function(a){a=a.type in i?i[a.type]:1;a/=j;return a*i.__eventDefault},getEventInteractionIDs:function(a,b){__p&&__p();if(l.indexOf(a)===-1)return[];var c=[];for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;for(var g=0;g",request_animation_frame_wait_ms:0,set_timeout_wait_ms:0};h[x]={event_target_raw:z,weight:r.event,cancelable:!!D,deliberate_sync:!!E,ad_account_id:o,event_end_ms:0};B=b("EventProfilerAdsSessionProvider").sessionID;B&&(h[x].ads_session_id=B);var F=!1;m.has(c)&&(!k&&l-1);d=d?new a.CustomEvent("test").timeStamp:a.document.createEvent("KeyboardEvent").timeStamp;return d&&d<=a.performance.now()?function(a){return a.timeStamp+c}:b}();function u(a,c){var d=[];while(a&&a instanceof HTMLElement){var e=a.getAttribute(c);e&&d.push(e);a=b("Parent").byAttribute(a.parentNode,c)}return d.reverse()}function v(a,c){return p!=null?p.getEventSampleWeights(a,c):b("EventProfilerSampler").getEventSampleWeights(a,c)}e.exports=r}),null); __d("ImageTimingHelper",["Arbiter","BigPipe","URI"],(function(a,b,c,d,e,f){__p&&__p();var g,h={},i={};function j(a){__p&&__p();var c=a.lid,d=a.pagelet,e=a.images,f=a.timeslice,j=a.ts,k=h[c];k||(k=h[c]=[]);e.forEach(function(a){try{var c=new(g||(g=b("URI")))(a);a=c.setFragment("").toString()}catch(a){return}if(i[a])return;i[a]=!0;k.push({pagelet:d,timeslice:f,ts:j,uri:a})})}b("Arbiter").subscribe(b("BigPipe").Events.init,function(a,b){b.lid&&b.lid!=="0"&&b.arbiter.subscribe("images_displayed",function(a,b){j(b)})});b("Arbiter").subscribe("MRenderingScheduler/images_displayed",function(a,b){j(b)});e.exports.getImageTimings=function(a){return h[a]||[]}}),null); __d("NavigationTimingHelper",["NavigationMetricsEnumJS","forEachObject","performance"],(function(a,b,c,d,e,f){__p&&__p();var g;function h(a,c){var d={};b("forEachObject")(b("NavigationMetricsEnumJS"),function(b){var e=c[b];e&&(d[b]=e+a)});return d}var i={getAsyncRequestTimings:function(a){if(!a||!(g||(g=b("performance"))).timing||!(g||(g=b("performance"))).getEntriesByName)return void 0;a=(g||(g=b("performance"))).getEntriesByName(a);return a.length===0?void 0:h(g.timing.navigationStart,a[0])},getPerformanceNavigationTiming:function(){if(!(g||(g=b("performance"))).timing||!(g||(g=b("performance"))).getEntriesByType)return{};var a=(g||(g=b("performance"))).getEntriesByType("navigation");return!a.length?{}:h(g.timing.navigationStart,a[0])},getNavTimings:function(){if(!(g||(g=b("performance"))).timing)return void 0;var a=babelHelpers["extends"]({},h(0,(g||(g=b("performance"))).timing),i.getPerformanceNavigationTiming());return h(0,a)}};e.exports=i}),null); __d("ResourceTimingBootloaderHelper",["Bootloader","ResourceTimingMetricsEnumJS","ResourceTimingsStore","ResourceTypes","URI","forEachObject","performance"],(function(a,b,c,d,e,f){__p&&__p();var g,h,i=500,j=[],k={},l={},m=new Map(),n=[".mp4",".m4v",".mpd","m4a"],o=new Set(["bootload","js_exec","start_bootload","tag_bootload"]);function p(a){for(var b=0;b=d))return e.splice(f,1)[0]}return null}function s(a,c,d,e,f,h,i){__p&&__p();if(!(g||(g=b("performance"))).timing||!(g||(g=b("performance"))).getEntriesByType)return null;var j=(g||(g=b("performance"))).timing.navigationStart;e=Array.from(g.getEntriesByType("resource"));e=e.filter(function(a){return a.duration>=0&&a.startTime!=null&&a.startTime+j>c&&(f==null||a.responseEnd==null||a.responseEnd+jf)continue;G.requestSent=K;G.responseReceived=I}G.type=E;G.desc=D;if(F!=null&&(E===b("ResourceTypes").JS||E===b("ResourceTypes").CSS||E===b("ResourceTypes").XHR)){H=b("ResourceTimingsStore").getAnnotationsFor(E,F.uid);H!=null&&(G.annotations=H)}E=="img"&&Object.prototype.hasOwnProperty.call(d,C.name)&&(G.pagelet=d[C.name]);G.transferSize=C.transferSize;G.encodedBodySize=C.encodedBodySize;a[C.name]==void 0&&(a[C.name]=[]);n++;a[C.name].push(G)}return i?{numValidEntries:k,numSuccessfulMetrics:n}:null}function t(a){a=new(h||(h=b("URI")))(a).getDomain();return a}function u(a){a=new(h||(h=b("URI")))(a).getPath();return a}function v(a){return[t(a),"img"]}function w(a){__p&&__p();var b=Object.keys(a).filter(function(a){return a.startsWith("start_bootload/")}).sort(function(b,c){return a[b]-a[c]}).map(function(a){return a.substring(a.indexOf("/")+1)});b.forEach(function(b){return o.forEach(function(c){c=c+"/"+b;a[c]!=null&&(k[c]=a[c])})});j=j.concat(b);if(j.length>i){b=j.splice(0,j.length-i);b.forEach(function(a){return o.forEach(function(b){k[b+"/"+a]&&delete k[b+"/"+a]})})}}a={addPastBootloaderMetricsToResourceTimings:function(c,d){__p&&__p();c===void 0&&(c={});d===void 0&&(d={});var a=b("Bootloader").getURLToHashMap();b("forEachObject")(c,function(b,c){__p&&__p();var e=a.get(c);if(!e)return;var f=new Map();f.set("bootloader_hash",e);o.forEach(function(a){var b=a+"/"+e;b=d[b]||k[b];b!=null&&f.set(a,b)});f.size>0&&b.forEach(function(a){if(a.requestSent||a.responseReceived)return;f.forEach(function(b,c){return a[c]=b})})})},mergeBootloaderMetricsAndResourceTimings:function(a,c,d){__p&&__p();a===void 0&&(a={});c===void 0&&(c={});d===void 0&&(d=!0);m.size===0&&(m=b("Bootloader").getURLToHashMap());var e=new Map();for(var f=m,g=Array.isArray(f),h=0,f=g?f:f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(g){if(h>=f.length)break;i=f[h++]}else{h=f.next();if(h.done)break;i=h.value}i=i;var j=i[0];i=i[1];e.set(j,i)}var k=[];b("forEachObject")(c,function(b,c){__p&&__p();var d=c.indexOf("/");if(d===-1)return;var f=c.substring(0,d);if(!o.has(f))return;k.push(c);var g=c.substring(d+1);c=e.get(g);if(!c){c=g;g=m.get(c);if(!g)return}c.startsWith("data:")&&(c="inlined resource: "+g);a[c]==null&&(a[c]=[{}]);a[c].forEach(function(a){a.bootloader_hash=g,a[f]=b})});d||(w(c),k.forEach(function(a){return delete c[a]}));return a},getLastTTIAndE2EImageResponseEnds:function(a,c,d){__p&&__p();var e={TTI:a,E2E:c};if(!(g||(g=b("performance"))).timing)return e;var f=d.filter(function(b){return b.ts<=a}).map(function(a){return a.uri}).reduce(function(b,a){b[a]=!0;return b},{}),h=d.map(function(a){return a.uri}).reduce(function(b,a){b[a]=!0;return b},{});for(var i in l)l[i].forEach(function(a){a.type==="img"&&(f[i]&&(e.TTI=Math.max(e.TTI,a.responseEnd)),h[i]&&(e.E2E=Math.max(e.E2E,a.responseEnd)))});return e},getMetrics:function(a,c,d,e,f,g){c===void 0&&(c={});l={};m.size===0&&(m=b("Bootloader").getURLToHashMap());a=s(l,a,c,d,e,f,g);return{data:l,diagnostics:a}}};e.exports=a}),null); __d("PerfXFlusher",["invariant","Banzai"],(function(a,b,c,d,e,f,g){var h="perfx_custom_logger_endpoint",i=["perfx_page","perfx_page_type","lid"];function j(a){i.forEach(function(b){return g(b in a,'PerfXFlusher: Field "%s" missing in the PerfX payload',b)})}a={flush:function(a){j(a),b("Banzai").post(h,a,{signal:!0})},registerToSendWithBeacon:function(a){b("Banzai").registerToSendWithBeacon(h,a)}};e.exports=a}),null); __d("QuicklingRefreshOverheadUtil",["QuicklingConfig","WebStorage","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h,i=null,j=1e4;a={onQuicklingStart:function(){i=(g||(g=b("performanceAbsoluteNow")))()},onQuicklingVersionMatch:function(){i=null},onQuicklingRefreshStart:function(){if(!b("QuicklingConfig").logRefreshOverhead||i===null)return;var a=(h||(h=b("WebStorage"))).getSessionStorage();if(!a)return;a.setItem("quickling_refresh_overhead",((g||(g=b("performanceAbsoluteNow")))()-i).toString());a.setItem("quickling_refresh_start",Date.now().toString())},getOverhead:function(a){__p&&__p();if(!b("QuicklingConfig").logRefreshOverhead)return null;var c=(h||(h=b("WebStorage"))).getSessionStorageForRead();if(!c)return null;var d=c.getItem("quickling_refresh_start");if(d==null)return null;if(a-parseInt(d,10)>j)return null;a=c.getItem("quickling_refresh_overhead");return a!=null?parseFloat(a):null}};e.exports=a}),null); __d("pageLoadedViaSWCache",[],(function(a,b,c,d,e,f){function a(){return self.__SW_CACHE__===1}e.exports=a}),null); __d("PerfXLogger",["ArtilleryOnUntilOffLogging","BanzaiODS","DataAttributeUtils","NavigationMetrics","NavigationTimingHelper","PerfXFlusher","PerfXSharedFields","QuicklingRefreshOverheadUtil","VisibilityListener","forEachObject","pageLoadedViaSWCache","performanceAbsoluteNow","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g,h={},i={},j=65*1e3,k=["e2e","tti","all_pagelets_displayed","all_pagelets_loaded","artillery_disable_time"],l={},m={_listenersSetUp:!1,_uploadEarly:!1,_alreadyUploadedEarly:!1,_setupListeners:function(){__p&&__p();var a=this;if(this._listenersSetUp)return;this._subscribeToNavigationMetrics();b("PerfXFlusher").registerToSendWithBeacon(function(){var c=[];b("forEachObject")(h,function(b,d){if(!h[d].sent){b=a.getPayload(d,"unload fired");b!=null&&c.push(b)}});h={};return c});this._listenersSetUp=!0},_init:function(a){__p&&__p();var b=a.lid;if(b==null)return;this._alreadyUploadedEarly=!1;this._uploadEarly=!!a.upload_perfx_early;delete a.upload_perfx_early;var c=i[b]||[];delete i[b];if(a.sw_controlled_tags){if(navigator.serviceWorker&&navigator.serviceWorker.controller)for(var d=0;d